package com.atguigu.yygh.hosp.service;/*
 * @author: XueYouPeng
 * @time: 2023/6/9 20:13
 */

import com.atguigu.yygh.model.hosp.Schedule;
import com.atguigu.yygh.vo.hosp.ScheduleOrderVo;
import org.springframework.data.domain.Page;

import java.util.List;
import java.util.Map;

public interface ScheduleService {
    void saveSchedule(Map<String, Object> paramMap);

    Page<Schedule> list(Map<String, Object> paramMap);

    void remove(Map<String, Object> paramMap);

    Map<String, Object> getScheduleRule(Integer page, Integer limit, String hoscode, String depcode);

    Map<String, Object> getScheduleRule2(Integer page, Integer limit, String hoscode, String depcode);

    List<Schedule> getScheduleDetail(String hoscode, String depcode, String workDate);

    Map<String, Object> getBookingScheduleRule(Integer pageNum, Integer pageSize, String hoscode, String depcode);

    Schedule getScheduleById(String scheduleId);

    ScheduleOrderVo getScheduleOrderVo(String scheduleId);
}
